import { HashRouter, NavLink } from 'react-router-dom';
import './App.css';
import MyRoutes from './routes/myroute';
import { HeartOutline, MessageOutline, SearchOutline, UserOutline } from 'antd-mobile-icons';

function App() {
  return (
    <HashRouter>
      <MyRoutes></MyRoutes>
      <div className='tabBur'>
        <NavLink to='/'><HeartOutline /><span className='tabtext'>首页</span></NavLink>
        <NavLink to='/shop'> <SearchOutline /><span className='tabtext'>问诊</span></NavLink>
        <NavLink to='/chat'><MessageOutline /><span className='tabtext'>聊天</span></NavLink>
        <NavLink to='/my'><UserOutline /><span className='tabtext'>我的</span></NavLink>
      </div>
    </HashRouter>
  );
}

export default App;
